<%@include file="/header/head.jsp" %>
<jsp:include page="/header/header.jsp">
	<jsp:param value="" name="title"/>
</jsp:include>


<!-- end of menu_wrapper -->
<div id="content">

<a href="<spring:url value='/' />"> Home </a><br/>
<a href="<spring:url value='/users/edit' />?id=${entity.id}"> Edit Post </a><br/>
<a href="<spring:url value='/users/delete' />?id=${entity.id}"> Delete Post </a><br/>
<a href="<c:url value="/j_spring_security_logout" />">Logout</a>

<table width="60%" border="1" cellspacing="0">

          <tr>
              <td><strong>First Name:</strong></td>
              <td>
              	<c:out value="${entity.userDetail.firstName}"/>
              </td>
          </tr>
          <tr>
              <td><strong>Last Name:</strong></td>
              <td>
              	<c:out value="${entity.userDetail.lastName}"/>
              </td>
          </tr>
          <tr>
              <td><strong>Gender:</strong></td>
              <td>
              	<c:if test="${entity.userDetail.gender == 'M' }">
              	Male
              	</c:if>
              	<c:if test="${entity.userDetail.gender == 'F' }">
              	Female
              	</c:if>
               </td>
          </tr>
          
          <tr>
              <td><strong>Role Name:</strong></td>
              <td>
				<c:out value="${entity.authorities.roleName}"/>
               </td>
          </tr>
          
      </table>
 </div>
 
 <%@include file="/footer/footer.jsp" %>